package com.genghis.ptas.userfriends.service;

import com.genghis.core.page.entity.Page;
import com.genghis.core.page.entity.PageParameter;
import com.genghis.ptas.scorm.entity.ScormInfo;
import com.genghis.ptas.userfriends.entity.UserFriend;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: yutong
 * Date: 14-4-22
 * Time: 下午8:16
 * To change this template use File | Settings | File Templates.
 */
public interface UserFriendService {

     void addFriend(UserFriend userFriend);

     Page<UserFriend> findFriendPageList(PageParameter pageParameter, UserFriend userFriend);

    List<String> findFriendId(int id);

    void delFriendById(int id);

    Page findFriendCoursePageList(PageParameter pageParameter, ScormInfo scormInfo, int userId);
}
